<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head lang="en">
    <meta charset="UTF-8" />
    <title></title>
</head>
<body>
<!-- 通过thymeleaf引入图片路径 -->
<img alt="test" th:src="@{images/leaf.jpg}" />
<h1 th:text="${host}">Hello World</h1>
</body>
</html>